package com.stone.name.space;

import com.stone.name.space.bean.People;
import com.stone.name.space.parser.PeopleBeanDefinitionParser;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * <p>Created with IntelliJ IDEA. </p>
 * <p>User: Stony </p>
 * <p>Date: 2016/6/24 </p>
 * <p>Time: 11:28 </p>
 * <p>Version: 1.0 </p>
 */
public class PeopleNamespaceHandlerSupport extends NamespaceHandlerSupport {

    public void init() {
        registerBeanDefinitionParser("people", new PeopleBeanDefinitionParser(People.class,true));
    }
}
